/**
 *
 */
package org.rency.ues.annotation.support;

import java.util.ArrayList;
import java.util.List;

/**
 * <p>安全管理注解数据</p>
 * @author fjl
 * @version $Id: AnnotionData.java 31942 2012-12-28 07:20:50Z fangjilue $
 */
public class AnnotionData {

    /**
     * 参数引用
     */
    private Object parameter;

    /**
     * 包含的字段
     */
    private List<String> includeFields;

    public Object getParameter() {
        return parameter;
    }

    public void setParameter(Object parameter) {
        this.parameter = parameter;
    }

    public List<String> getIncludeFields() {
        return includeFields;
    }

    public void setIncludeFields(List<String> includeFields) {
        this.includeFields = includeFields;
    }

    public void addIncludeField(String includeField) {
        if(this.includeFields == null){
            this.includeFields = new ArrayList<String>();
        }
        this.includeFields.add(includeField);
    }
}
